{include file="header.html"}
<script type="text/javascript">
//<!CDATA[
$(function(){
    $('#keyword_form').validate({
        errorPlacement: function(error, element){
            $(element).next('.field_notice').hide();
            $(element).after(error);
        },
        success       : function(label){
            label.addClass('right').text('OK!');
        },
        rules : {
            name : {
                required : true,
            },
            lang  : {
                required : true,
            },
        },
        messages : {
            name : {
                required : '语言包名称不能为空',
            },
            lang  : {
                required : '语言包标识不能为空',
            },
        }
    });
});
//]]>
</script>
<div id="rightTop">
    <p>语言包</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=language">{$lang.manage}</a></li>
        <li><span>{$lang.add}</span></li>
    </ul>
</div>

<div class="info">
    <form method="post" enctype="multipart/form-data" id="keyword_form">
        <table class="infoTable">
            <tr>
                <th class="paddingT15">
                    语言包名称:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput2" id="name" type="text" name="name" value="" /> 
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    语言包标示:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput2" id="lang" type="text" name="lang" value="" /> 
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    默认语言:</th>
                <td class="paddingT15 wordSpacing5">
                    <input type="radio" id="default_enabled" name="default_lang" value="1" />
                    <label for="default_enabled">是</label>
                    <input type="radio" id="default_disabled" name="default_lang" checked="" value="0" />
                    <label for="default_disabled">否</label>
                </td>
            </tr>
        <tr>
            <th></th>
            <td class="ptb20">
                <input class="formbtn" type="submit" name="Submit" value="{$lang.submit}" />
                <input class="formbtn" type="reset" name="Submit2" value="{$lang.reset}" />
            </td>
        </tr>
        </table>
    </form>
</div>
{include file="footer.html"}
